package com.freewater.parking.infrastructure.db;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "summary")
@Getter
@Setter
public class SummaryTable {

    public static final Integer SINGLE_ID = 1;

    /**
     * 主键ID
     */
    @Id
    private Integer id;

    /**
     * 当前车辆数
     */
    private Integer totalInParking = 0;
}
